<template>
	<view class="Menu">
		<!-- 导航条 :style="{ height: $wanlshop.wanlsys().height + 'px' }"-->
		<view class="cu-custom">
			<view class="cu-bar fixed" style="background: #06224b; color: #fff;"
				:style="{height: $wanlshop.wanlsys().height + 'px',paddingTop: $wanlshop.wanlsys().top + 'px',}">
				<view class="action">
					<text class="wlIcon-fanhui1" style="margin-left: 0" @tap="$wanlshop.back(1)"></text>
				</view>
				<view class="content" :style="{ top: $wanlshop.wanlsys().top + 'px' }">
					商品详情
				</view>
				<view class="action">
					<!-- <text class="wlIcon-gengduo" @tap="showModal('share')"></text> -->
				</view>
			</view>
		</view>
		<view style="position: fixed;height: auto;  width: auto; top: 0; left: 0; bottom: 0; right: 0;"
			:style="{top: $wanlshop.wanlsys().height + 'px',}">
			<view class="details" v-html="sp_content">
			</view>

		</view>

	</view>
</template>
<script>
	export default {
		data() {
			return {
				id: '',
				sp_content: ''
			};
		},
		onLoad(option) {
			this.id = option.id
			this.init()
		},
		methods: {
			init() {
				uni.request({
					url: "/financingcdn/financingEdit",
					method: 'POST',
					data: {
						financing_id: this.id,
					},
					success: (res) => {
						if (res.res.code == 1) {
							this.sp_content = res.res.data.data.sp_content
						}
					},
				});
			},
		}
	};
</script>

<style lang="scss">
	page {
		background: #06224b;
	}

	.Menu {
		.details {
			margin: 24rpx;
			font-size: 28rpx;
			color: #FFFFFF;
			line-height: 48rpx;
		}
	}
</style>